home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2000 February / Macworld (2000-02).dmg / Cool Extras! / DarkSide of the Mac 5.0.6 / SampleFaders / Morpion.make < prev    next >
Text File  |  1999-09-10  |  2KB  |  74 lines

  1. LANGUAGE            = ENGLISHDARKSIDE
  2. ObjDir                = :Objects:
  3. PPCObjDir            = :PPCObjects:
  4. SrcDir                =
  5. OutputDir            = :Faders:
  6. LinkOptions            = -d
  7. RezOptions            = -d {LANGUAGE}=1
  8. PPC_LibEquates =     
  9.  
  10. # debugging options
  11. #CompileOptions    = -w 17 -o "{ObjDir}" -d MPW3 -r -d SystemSevenOrLater -b2
  12. #SymOpt = on
  13. #PPCC_Options = -sym {SymOpt} -opt off
  14.  
  15. # non debugging options
  16. CompileOptions    = -w 17 -mbg off -o "{ObjDir}" -d MPW3 -r -d SystemSevenOrLater -b2
  17. SymOpt = off
  18. PPCC_Options = -sym {SymOpt} -opt speed
  19.  
  20. # fader shell creation
  21. "{ObjDir}"Fader.c.o ƒƒ "{SrcDir}"Fader.c "{SrcDir}"Fader.h
  22.     Echo "Compiling Fader.c"
  23.     SC {CompileOptions} "{SrcDir}"Fader.c
  24.     
  25. "{PPCObjDir}"Fader.c.o    ƒ {SrcDir}Fader.c
  26.     Echo "Compiling PPC Fader.c"
  27.     MrC {PPCC_Options} {SrcDir}Fader.c -o {PPCObjDir}Fader.c.o
  28.  
  29.     
  30. # Morpion creation
  31. "{ObjDir}"Morpion.c.o ƒƒ "{SrcDir}"Morpion.c
  32.     Echo "Compiling Morpion.c"
  33.     SC {CompileOptions} "{SrcDir}"Morpion.c
  34.  
  35. "{PPCObjDir}"Morpion.c.o    ƒ {SrcDir}Morpion.c
  36.     Echo "Compiling PPC Morpion.c"
  37.     MrC {PPCC_Options} {SrcDir}Morpion.c -o {PPCObjDir}Morpion.c.o
  38.     
  39. "{OutputDir}"Morpion ƒƒ "{ObjDir}"Morpion.c.o "{ObjDir}"Fader.c.o
  40.     Echo "Linking Morpion"
  41.     Link {LinkOptions} -o {Targ}                ∂
  42.     -m FaderEntry                                ∂
  43.     -rt FADE=128                                ∂
  44.     -sg Fader                                    ∂
  45.     "{ObjDir}Fader.c.o"                            ∂
  46.     "{ObjDir}Morpion.c.o"                        ∂
  47.     "{Libraries}"Interface.o                     ∂
  48.     "{Libraries}"MacRuntime.o                         
  49.     SetFile {Targ} -t 'Dark' -c 'DSOM'
  50.     
  51. "{OutputDir}Morpion" ƒƒ    "{PPCObjDir}"Morpion.c.o "{PPCObjDir}"Fader.c.o
  52.     Echo "Making Morpion for PowerPC"
  53.     PPCLink                                    ∂
  54.         -sym {SymOpt}                        ∂
  55.         "{PPCObjDir}Fader.c.o"                ∂
  56.         "{PPCObjDir}Morpion.c.o"            ∂
  57.         "{SharedLibraries}"InterfaceLib        ∂
  58.         "{SharedLibraries}"StdCLib            ∂
  59.         -main PreflightFader                ∂
  60.         -export preflightFaderUPP            ∂
  61.         -export initializeFaderUPP            ∂
  62.         -export idleFaderUPP                ∂
  63.         -export disposeFaderUPP                ∂
  64.         -export updateFaderUPP                ∂
  65.         -export hitFaderUPP                    ∂
  66.         -o "{Targ}"    -t 'Dark' -c 'DSOM'                    
  67.     If "{SymOpt}" =~ /[oO][nN]/
  68.        makeSYM "{Targ}"
  69.     End
  70.              
  71. "{OutputDir}"Morpion ƒƒ "{SrcDir}"Morpion.r
  72.     Echo "Rezzing Morpion"
  73.     Rez {RezOptions} -rd -o {Targ} {SrcDir}Morpion.r -append
  74.